package house.repository;

import house.entity.House;
import house.entity.HousePic;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface HousePicRepository extends JpaRepository<HousePic, Integer> {

    List<HousePic> findAllByHouse(House house);
}
